﻿using SqlSugar;

namespace Future.Model.SysModel
{
    /// <summary>
    /// 描述：用户表
    /// 创建人： yangkai
    /// 创建时间：2022/11/4 17:54:36
    /// </summary>
    [SugarTable("Sys_User")]
    public class UserModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public Guid Id { get; set; }

        /// <summary>
        /// 登录名
        /// </summary>
        public string UserName { get; set; } = string.Empty;

        /// <summary>
        /// 昵称
        /// </summary>
        public string NickName { get; set; } = string.Empty;

        /// <summary>
        /// 头像图片地址
        /// </summary>
        public Guid? AvatarFileId { get; set; }

        /// <summary>
        /// 昵称
        /// </summary>
        public string Password { get; set; } = string.Empty;

        /// <summary>
        /// 帐号状态（true 正常 false停用）
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateBy { get; set; } = string.Empty;

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdateBy { get; set; } = string.Empty;

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; } = string.Empty;
    }
}
